Ext.define('PCD.view.pcd.PcdList', {
    extend: 'Ext.grid.Panel',
    closeAction: 'hide',
    xtype : 'pcdlist',
    title: "派车单",
    tbar:[{
        xtype:"button",
        text:"新建",
        handler:function(){
            console.log(arguments);
        }
    }],

    store: "PcdStore",

    columns: [
        {header: '编号',  dataIndex: 'id',  flex: 1},
        {header: '申请人', dataIndex: 'name', flex: 1},
        {header: '部门', dataIndex: 'bumen', flex: 1},
        {header: '车辆', dataIndex: 'cheliang', flex: 1},
        {header: '预计开始时间', dataIndex: 'stime', flex: 1},
        {header: '预计返回时间', dataIndex: 'otime', flex: 1},
        {header: '用车事由', dataIndex: 'shiyou', flex: 1},
        {header: '同行人员', dataIndex: 'tongxing', flex: 1},
        {header: '目的地', dataIndex: 'mudi', flex: 1},
        {header: '实际开始时间', dataIndex: 'sjtime', flex: 1},
        {header: '实际返回时间', dataIndex: 'likai', flex: 1},
        {header: '驾驶员', dataIndex: 'jiashiyuan', flex: 1},
        {header: '驾驶员手机号码', dataIndex: 'tel', flex: 1},
        {header: '领导签字', dataIndex: 'shenpi', flex: 1},
        {header: '局办备案', dataIndex: 'beian', flex: 1},
        {header: '申请时间', dataIndex: 'sqtime', flex: 1},
        {header: '流程状态', dataIndex: 'zt', flex: 1}
    ]
});